package p.ithorns.sample.tracer.jaeger;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

/**
 * T1Service
 *
 * @author HtL
 * @date 2025/3/21 13:27
 * @since 1.0.0
 */
@Slf4j
@Service
public class T1Service {

    @Autowired
    RedisTemplate<Object, Object> redis;

    public void test() {
        redis.opsForValue().set("k1", "v1");
        log.info("T1Service process.");
        System.out.println(redis.opsForValue().get("k1"));
    }

}